<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../../../public/stylesheets/style_main.css" />
<script src="../../../public/javascripts/disponibilidad.js" type="text/javascript" ></script>
<title>Lista de Docentes</title>


</head>

<body>
    <div id="page">
		
        <div id="header">
            
            <table width="300" border="0" align="right">
              <tr>
                  <th>&nbsp;</th>
                  <th>&nbsp;</th>
              </tr>
              <tr>
                  <th>SEMESTRE :</th>
                  <th>${SA.sem_vcNombre}</th>
              </tr>
	      <tr>
		<th>INICIO :</th>
                <th>${SA.getInicio()}</th>
              </tr>
              <tr>
                <th>FIN :</th>
                <th>${SA.getFin()}</th>
              </tr>
              <tr>
    		<th>DOCENTE :</th>
    		<th>Jorge CHAVEZ SOTO</th>
              </tr>
              <tr>
                <th>CODIGO :</th>
                <th>69874569</th>
              </tr>
              <tr>
              <th>FECHA ACTUAL :</th>
                <th>
                	<script>
						var f = new Date();						
							hora = new Date();
							var minutos = hora.getMinutes ();
							if (minutos<=9) minutos = "0" + minutos;
							document.write(f.getDate() + "/" + (f.getMonth() +1) + "/" + f.getFullYear()+" Hora: "+hora.getHours()+":"+minutos);
													
						</script>
                   
                </th>                
              </tr>
	</table>
            
        	<div id="headerTitle">&nbsp;</div>
            <div id="headerSubText">&nbsp;</div>
            
        </div>
        <div id="bar">

        	<div class="navLink"><a href="#">Inicio</a></div>
           	<div class="navLink"><a href="PerfilJefe">Mi perfil</a></div>
            <div class="navLink"><a href="listaDocentes">Lista de Docentes</a></div>
            <div class="navLink"><a href="periodoEnvio">Configuraci&oacute;n</a></div>
            <div class="navLink"><a href="@{Secure.logout()}">Salir</a></div>
            
      </div>
         <div class="contentTitle"><h1>LISTA DE DOCENTES QUE ENVIARON SU DISPONIBILIDAD HORARIA</h1></div>
      <div class="contentText">
        <p>&nbsp;</p>
        <form name="formBuscar" action="@{dptoAcademico.buscarPalabra()}" method="post" >
        <table width="620" border="1">
  <tr>
    <td width="284">Ingresar palabra</td>
    <td width="132">elegir categoria</td>
    <td width="62">&nbsp;</td>
  </tr>
  <tr>
    <td><input name="palabra" type="text" value="" size="45"  /></td>
    <td><select name="campo" id="campo" >
          	<option value="nombre" >Nombre</option>
            <option value="apellido">Apellidos</option>
            <option value="codigo" >Codigo</option>
            <option value="fecha" >Fecha de Envio</option>
         </select></td>
    <td><input type="submit" name="buscar" value="Buscar"  /></td>
  </tr>
   <tr>
       <td width="284"><a href="@{dptoAcademico.exportarExcel()}"><input type="button" value="exportar a excel" /><img src="../../../public/images/excel.png" width="20" height="20" /></a></td>
    <td width="132">&nbsp;</td>
    <td width="62">&nbsp;</td>
  </tr>
</table>
</form>
<p>&nbsp;</p>
    <form action="@{dptoAcademico.mostrarDisponibilidad}" name="formulario" class="formulario" id="formulario1" method="post">
        <input type="hidden" name="id"  id="id">  
    <table width="620" border="1" align="center" >
      <tr>
        <td align="center" >FECHA DE ENV&Iacute;O</td>
        <td align="center" >C&Oacute;DIGO</td>
        <td align="center" >A. PATERNO</td>
        <td align="center" >A. MATERNO</td>
        <td align="center" >NOMBRES</td>
      
        <td align="center" >DISPONIBILIDAD</td>
      </tr>
         #{list items:DC, as:'dc1'}
         <tr>
        <td align="center" >${dc1.fechaEnvio}</td>
        <td align="center" >${dc1.doc_vcCodigo}</td>
        <td align="center" >${dc1.doc_vcApellidoPaterno}</td>
        <td align="center" >${dc1.doc_vcApellidoMaterno}</td>
        <td align="center" >${dc1.doc_vcNombres}</td>
        <td align="center" ><input type="button" id="${dc1.id}" value="Mostrar" onclick="mostrarDisponibilidad(${dc1.id})" /></td>
        </tr>
        #{/list}
      <tr>
        <td colspan="7" >&nbsp;</td>
      </tr>
      </table>
    </form>
    <p>&nbsp;</p>
     
        </div>
</div>
        <div id="footer"><a href="http://www.unmsm.edu.pe">Copyright</a> | <a href="http://www.unmsm.edu.pe">Universidad Nacional Mayor de San Marcos</a> |Ing. Software</a> | </div>
</body>
</html>
